
package com.xoa.service.nccloud.impl;

import com.xoa.dao.ncclound.NccPsnclVMapper;
import com.xoa.model.nccloud.NccPsnclV;
import com.xoa.service.nccloud.NccPsnclVService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;

@Service
public class NccPsnclVServiceImpl implements NccPsnclVService {

    @Resource
    private NccPsnclVMapper nccPsnclVMapper;

    public NccPsnclV getNccPsnclVById(Long id)throws Exception{
        return nccPsnclVMapper.getNccPsnclVById(id);
    }

    public List<NccPsnclV>	getNccPsnclVListByMap(Map<String,Object> param)throws Exception{
        return nccPsnclVMapper.getNccPsnclVListByMap(param);
    }

    public Integer getNccPsnclVCountByMap(Map<String,Object> param)throws Exception{
        return nccPsnclVMapper.getNccPsnclVCountByMap(param);
    }

    public Integer itriptxAddNccPsnclV(NccPsnclV nccPsnclV)throws Exception{

            return nccPsnclVMapper.insertNccPsnclV(nccPsnclV);
    }

    public Integer itriptxModifyNccPsnclV(NccPsnclV nccPsnclV)throws Exception{

        return nccPsnclVMapper.updateNccPsnclV(nccPsnclV);
    }

    public Integer itriptxDeleteNccPsnclVById(Long id)throws Exception{
        return nccPsnclVMapper.deleteNccPsnclVById(id);
    }



}
